<template>
 <div>
 <ul>
  <!-- <li>{{list[0]}}</li> -->
  <!-- <li v-for='item in list' :key='item'>这是{{item}}</li> -->
  <li v-for='(item,index) in list' :key='index'>这是{{item}}下标{{index}}</li>
 </ul>
 </div>
</template>

<script>
 export default {
  
   data () {
     return {
       list:[3,2,1,4,3]
     }
   },
   methods: {

   },
  
 }
</script>

<style scoped lang='less'>

</style>